﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLT_Public;
using QLT_Data;
using System.Data;

namespace QLT_BLL
{
   public  class HoaDonNhap_BLL
    {
       HoaDonNhap_Data hoaDonNhap = new HoaDonNhap_Data ();
       public DataTable LayDuLieu()
       {
           return hoaDonNhap.LayDuLieu();
       }
       public DataTable taoBang(string sql)
       {
           return hoaDonNhap.TaoBang(sql);
       }
       public int insert_HoaDonNhap(HoaDonNhap_Public tenHDN,HoaDonNhap_Public tenCongTy ,HoaDonNhap_Public ngayNhap)
       {
           return hoaDonNhap.Insert_HoaDonNhap(tenHDN,tenCongTy ,ngayNhap);
       }
       public int update_HoaDonNhap(HoaDonNhap_Public tenHDN,HoaDonNhap_Public maHDN,HoaDonNhap_Public tenCongTy, HoaDonNhap_Public ngayNhap)
       {
           return hoaDonNhap.Update_HoaDonNhap(tenHDN,maHDN,tenCongTy, ngayNhap);
       }
       public int delete_HoaDonNhap(HoaDonNhap_Public maHDN)
       {
           return hoaDonNhap.Delete_HoaDonNhap(maHDN);
       }
    }
}
